_terrainName = _this select 1;

_TerrainClass = "";

_animPerson = _this select 0;

if (_animPerson == "") exitwith { Hint "Some how there was an error check your scripts : or You need to select a name in the player list , if you wish to activate it on all players then click all players or select an indevidiual name to perform that action onto. then click EXECUTE.";};

if (_animPerson == "ALL PLAYERS") then {_animPerson = "";};
if (_animPerson == "EVERYONE BUT ME") then {_animPerson = "FUCKEMGRANDPAIHATEJEWS";};



// ----------------------------------//
switch (_terrainName) do
{
	case "Very High": 	// 
	{
	_TerrainClass = "3.125";
	};
	case "High": 	// 
	{
	_TerrainClass = "6.25";
	};
	case "Normal": 	// 
	{
	_TerrainClass = "12.5";
	};
	case "Low": 	// 
	{
	_TerrainClass = "25";
	};
	case "Very Low": 	// 
	{
	_TerrainClass = "50";
	};
	//--------------------------------------------------------------//
	
};
fart = format["setTerrainGrid %1", _TerrainClass];
call compile fart;